#pragma once
#ifndef PUBLIC_H
#define PUBLIC_H

#include <iostream> //to_string(int)
#include <sstream>
#include <ctime>
#include <cmath>
#include <string>

#include <opencv2/imgproc.hpp> //ÒýÈëcvtColor()
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>

//opencv
//#include "opencv2/opencv.hpp"
// #include <opencv2/imgproc.hpp>
// #include <opencv2/core/core.hpp>
// #include <opencv2/features2d/features2d.hpp>
// #include <opencv2/highgui/highgui.hpp>
// #include "opencv2/calib3d/calib3d.hpp" //findHomography

#define DEBUG2


#ifdef DEBUG
#define DEBUG_PRINT          \
    printf("DEBUG_PRINT: "); \
    printf
#else
#define DEBUG_PRINT /\
/ printf
#endif

using namespace std;
using namespace cv;

template < class T >void ClearVector( vector< T >& vt ) 
{
    vector< T > vtTemp; 
    vtTemp.swap( vt );
}

#endif
